<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>WTF Credit Card Statement</title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        <h1>Help me understand, credit card statement!</h1>
        <h:form>
            <h:commandLink action="/web/categories/List" value="Show All Categories Items"/>
        </h:form>
        <h:form>
            <h:commandLink action="/web/merchantassociatedcategories/List" value="Show All Merchantassociatedcategories Items"/>
        </h:form>
        <h:form>
            <h:commandLink action="/web/merchants/List" value="Show All Merchants Items"/>
        </h:form>
        <h:form>
            <h:commandLink action="/web/statement/List" value="Show All Statement Items"/>
        </h:form>
        <br/>
        <h3>Load Data</h3>
        <h:form>
            <h:commandLink action="/web/data/Load" value="Load credit card statements"/>
        </h:form>
        <br/>
        <h3>Queries</h3>
        <h:form>
            <h:commandLink action="/web/queries/queryByMerchant" value="Query By Merchant">
                <f:param name="merchantId" value="1"/>
            </h:commandLink><br/>
            <h:commandLink action="/web/queries/queryByMerchantStore" value="Query By Merchant Store">
                <f:param name="merchantId" value="-1"/>
            </h:commandLink> (coming)<br/>
            <h:commandLink action="/web/queries/queryByCategory" value="Query By Category">
                <f:param name="merchantId" value="-1"/>
            </h:commandLink><br/>
            <h:commandLink action="/web/queries/queryByStatementPeriod" value="Query By Statement">
                <f:param name="merchantId" value="-1"/>
            </h:commandLink>
        </h:form>
        <br/>        
        <h3>Reports (coming)</h3>
        <h:form>
            <h:commandLink action="/web/reports/reportByMerchant" value="Report By Merchants">
                <f:param name="merchantId" value="1"/>
            </h:commandLink><br/>
            <h:commandLink action="/web/reports/reportByMerchantStore" value="Report By Merchant Store">
                <f:param name="merchantId" value="-1"/>
            </h:commandLink> (coming)<br/>
            <h:commandLink action="/web/reports/reportByCategory" value="Report By Categories">
                <f:param name="merchantId" value="-1"/>
            </h:commandLink>
        </h:form>
    </h:body>




</html>

